<?php

class MarugujaratController extends Zend_Controller_Action {

    public function init() {
        /* Initialize action controller here */
    }

    public function indexAction() {
        $url = "http://www.marugujarat.org/feeds/posts/default";
        $channel = Zend_Feed::import($url);
        foreach ($channel as $entry) {
//            $data = array();
//            $data['title'] = $entry->title();
//            $data['link'] = $entry->link('alternate');
//            $data['description'] = $entry->content();                        
            
            echo '<br><pre>';
            print_r($entry);
            echo '</pre><hr>';            
        }
    }

}

